//
//  WYCAboutMeController.m
//  51信用卡
//
//  Created by 中企互联 on 2017/11/2.
//  Copyright © 2017年 中企互联. All rights reserved.
//

#import "WYCAboutMeController.h"

@interface WYCAboutMeController ()

@end

@implementation WYCAboutMeController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    //setNav
    [self setupNav];
    
    
    //创建界面
    [self setupCreat];
}
- (void)setupCreat{
    UIImageView * logoimageView = [[UIImageView alloc] init];
    logoimageView.frame = CGRectMake(ScreenWidth / 2 - 200 * px, 64 + 300* px, 400 * px, 400 * px);
    logoimageView.image = [UIImage imageNamed:@""];
    logoimageView.backgroundColor = [UIColor redColor];
    [self.view addSubview:logoimageView];
    
    UILabel * comenttitle = [[UILabel alloc] init];
    comenttitle.frame = CGRectMake(40 * px, CGRectGetMaxY(logoimageView.frame) + 300 * px, ScreenWidth - 80 * px, 200 * px);
    comenttitle.text = @"企业简介企业简介企业简介企业简介企业简介企业简介企业简介企业简介企业简介";
    comenttitle.font = MiddleLight;
    comenttitle.numberOfLines = 0;
    [self.view addSubview:comenttitle];
    
    
    UIButton * delegatebutton = [[UIButton alloc] init];
    delegatebutton.frame = CGRectMake(ScreenWidth / 4, ScreenHeight - 110 * px, ScreenWidth / 2, 70 * px);
    [delegatebutton setTitle:@"《智能信用卡管家用户协议》" forState:UIControlStateNormal];
    [delegatebutton setTitleColor:WYCRGBColor(82, 93, 240) forState:UIControlStateNormal];
    delegatebutton.titleLabel.font = smallLight;
    [self.view addSubview:delegatebutton];
    
}
#pragma make ------->>nav界面修改
- (void)setupNav{
    
    self.view.backgroundColor = WYCGlobalBg;
    self.navigationItem.title = @"关于我们";
    [self.navigationController.navigationBar setTitleTextAttributes:@{NSForegroundColorAttributeName:[UIColor whiteColor]}];
    [self.navigationController.navigationBar setBarTintColor:bigredColor];
    
}

@end
